

# age = 8
# if (age > 18):
#     print("成年了允许进入网吧")
#     print("成年了允许进入酒吧")
# elif (age > 14):
#     print("未成年，少年！")
# else:
#     print("未成年，小朋友！")
#
# print("打印分割线 ==========")

age = 20
cn = "成年" if age >= 18 else "未成年"
print(cn)

i = 1
while i < 100:
    print("Hello World!")
    i+=1

    if i == 5:
        print(i)
        break
print("一共输出 %d 次Hello World!" % i)


for x in range(1, 8, 2):
    print(x)
